import React, {useContext} from "react";
const globalContext = React.createContext();
export const {Provider,Consumer} = globalContext;
export const useAppContext = ()=> useContext(globalContext);
export default globalContext;